function AbstractTextModel(){}
AbstractTextModel.prototype = {
    $initAbstractTextModel: Utils.nop,
    getLineCount: Utils.abstractMethod,
    getLineOffset: Utils.abstractMethod,
    getLineLength: Utils.abstractMethod,
    getLineDelimiter: Utils.abstractMethod,
    getText: Utils.abstractMethod,
    setText: Utils.abstractMethod,
    getFragments: function (start, end){
        return [[start, end - start]];
    },
    $isPunctuation: function (c){
        return (33 <= c && c <= 47) || (58 <= c && c <= 64) || (91 <= c && c <= 94) || c === 96 || (123 <= c && c <= 126);
    },
    $isWhitespace: function (c){
        return c === 32 || c === 9;
    }
};